home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
p4
/
p4-1_2a.lha
/
p4-1.2a
/
usc
/
makefile.proto
next >
Wrap
Makefile
|
1992-10-19
|
521b
|
35 lines
P4_HOME_DIR = ..
INCLUDEDIR = $(P4_HOME_DIR)/include
LIBDIR = $(P4_HOME_DIR)/lib
LIBS = $(MDEP_LIBS)
LIBLINK = ../bin
USC_HDR = usc_sys.h usc.h
USC_SRC = usc.c
USC_OBJ = usc.o
default:
make libusc.a
all:
make libusc.a
CFLAGS = -D$(MACHINE)
usc.o:$(P)
$(CC) $(CFLAGS) -I$(INCLUDEDIR) -c usc.c
$(USC_OBJ): $(USC_SRC) $(USC_HDR)
libusc.a: $(USC_OBJ)
$(AR) $(LIBDIR)/libp4.a $?
$(RANLIB) $(LIBDIR)/libp4.a
# $(AR) $@ $?
# $(RANLIB) $@
realclean: clean
$(RM) -f libusc.a Makefile
@cd usctest; make clean